<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>简单实用国产jQuery UI框架 - DWZ富客户端框架(J-UI.com)</title>

<link href="<{$Think.const.DWZ_URL}>themes/default/style.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="<{$Think.const.DWZ_URL}>themes/css/core.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="<{$Think.const.DWZ_URL}>themes/css/print.css" rel="stylesheet" type="text/css" media="print"/>
<link href="<{$Think.const.DWZ_URL}>uploadify/css/uploadify.css" rel="stylesheet" type="text/css" media="screen"/>
<!--[if IE]>
<link href="themes/css/ieHack.css" rel="stylesheet" type="text/css" media="screen"/>
<![endif]-->

<!--[if lt IE 9]><script src="js/speedup.js" type="text/javascript"></script><script src="js/jquery-1.11.3.min.js" type="text/javascript"></script><![endif]-->
<!--[if gte IE 9]><!-->
<script src="<{$Think.const.DWZ_URL}>js/jquery-2.1.4.min.js" type="text/javascript"></script><!--<![endif]-->

<script src="<{$Think.const.DWZ_URL}>js/jquery.cookie.js" type="text/javascript"></script>
<script src="<{$Think.const.DWZ_URL}>js/jquery.validate.js" type="text/javascript"></script>
<script src="<{$Think.const.DWZ_URL}>js/jquery.bgiframe.js" type="text/javascript"></script>
<script src="<{$Think.const.DWZ_URL}>xheditor/xheditor-1.2.2.min.js" type="text/javascript"></script>
<script src="<{$Think.const.DWZ_URL}>xheditor/xheditor_lang/zh-cn.js" type="text/javascript"></script>
<script src="<{$Think.const.DWZ_URL}>uploadify/scripts/jquery.uploadify.js" type="text/javascript"></script>

<!-- svg图表  supports Firefox 3.0+, Safari 3.0+, Chrome 5.0+, Opera 9.5+ and Internet Explorer 6.0+ -->
<script type="text/javascript" src="<{$Think.const.DWZ_URL}>chart/raphael.js"></script>
<script type="text/javascript" src="<{$Think.const.DWZ_URL}>chart/g.raphael.js"></script>
<script type="text/javascript" src="<{$Think.const.DWZ_URL}>chart/g.bar.js"></script>
<script type="text/javascript" src="<{$Think.const.DWZ_URL}>chart/g.line.js"></script>
<script type="text/javascript" src="<{$Think.const.DWZ_URL}>chart/g.pie.js"></script>
<script type="text/javascript" src="<{$Think.const.DWZ_URL}>chart/g.dot.js"></script>


<!-- 可以用dwz.min.js替换前面全部dwz.*.js (注意：替换时下面dwz.regional.zh.js还需要引入)-->
<script src="<{$Think.const.DWZ_URL}>js/dwz.min.js" type="text/javascript"></script>

<script src="<{$Think.const.DWZ_URL}>js/dwz.regional.zh.js" type="text/javascript"></script>

<script type="text/javascript">
$(function(){
	DWZ.init("<{$Think.const.PUBLIC_URL}>Admin/Dwz/dwz.frag.xml", {
		loginUrl:"__MODULE__Manager/login_dialog", loginTitle:"登录",	// 弹出登录对话框
//		loginUrl:"login.html",	// 跳到登录页面
		statusCode:{ok:200, error:300, timeout:301}, //【可选】
		pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"_order", orderDirection:"_sort"}, //【可选】
		keys: {statusCode:"statusCode", message:"message"}, //【可选】
		ui:{hideMode:'offsets'}, //【可选】hideMode:navTab组件切换的隐藏方式，支持的值有’display’，’offsets’负数偏移位置的值，默认值为’display’
		debug:false,	// 调试模式 【true|false】
		callback:function(){
                    initEnv();
                    $("#themeList").theme({themeBase:"<{$Think.const.PUBLIC_URL}>Admin/Dwz/themes"}); // themeBase 相对于index页面的主题base路径
		}
	});
});
</script>
<style>
    #info tr{height: 35px;}
</style>
</head>
<body>
    <div id="layout">
        <div id="header">
            <div class="headerNav">
                <a class="logo" href="__CONTROLLER__">标志</a>
                <ul class="nav">
                    <eq name="Think.session.authId|getUserRole" value="超级管理员">
                        <li><a href="__MODULE__/Public/systemInfo" target="dialog" height="420" width="490">系统信息</a></li>                       
                    </eq>
                    <li><a href="__MODULE__/Public/changePwd" target="dialog" width="600">修改密码</a></li>
                    <li><a href="__MODULE__/Public/logout" onclick="if (confirm('确定要退出吗？')) return true; else return false;">退出</a></li>
                </ul>
                <ul class="themeList" id="themeList">
                    <li theme="default"><div class="selected">蓝色</div></li>
                    <li theme="green"><div>绿色</div></li>
                    <!--<li theme="red"><div>红色</div></li>-->
                    <li theme="purple"><div>紫色</div></li>
                    <li theme="silver"><div>银色</div></li>
                    <li theme="azure"><div>天蓝</div></li>
                </ul>
            </div>
            <!-- navMenu -->			
        </div>
        <div id="leftside">
            <div id="sidebar_s">
                <div class="collapse">
                    <div class="toggleCollapse"><div></div></div>
                </div>
            </div>
            <div id="sidebar">
                <div class="toggleCollapse"><h2>主菜单</h2><div>收缩</div></div>
                <div class="accordion" fillSpace="sidebar">
                    <div class="accordionHeader">
                        <h2><span>Folder</span>界面组件</h2>
                    </div>
                    <div class="accordionContent">
                        <ul class="tree treeFolder">
                            <foreach name="oneNodeList" item='one'>
                                <li target="navTab"><span ><{$one.name}></span>
                                    <ul>                                        
                                        <foreach name="twoNodeList" item='two'>
                                            <if condition="$two['p_id'] eq $one['id']" >
                                                <li><a href="__MODULE__/<{$two.controller}>/<{$two.action}>"  target="navTab"><{$two.name}></a></li>
                                            </if>
                                        </foreach>
                                    </ul>
                                </li>
                            </foreach>                            
                            <!--<li><a href="dwz.frag.xml" target="navTab" external="true">dwz.frag.xml</a></li>-->
                        </ul>
                    </div>
                    <!--
                    <div class="accordionHeader">
                        <h2><span>Folder</span>典型页面</h2>
                    </div>
                    <div class="accordionContent">
                        <ul class="tree treeFolder treeCheck">
                            <li><a href="demo_page1.html" target="navTab" rel="demo_page1">查询我的客户</a></li>
                            <li><a href="demo_page1.html" target="navTab" rel="demo_page2">表单查询页面</a></li>
                            <li><a href="demo_page4.html" target="navTab" rel="demo_page4">表单录入页面</a></li>
                            <li><a href="demo_page5.html" target="navTab" rel="demo_page5">有文本输入的表单</a></li>
                            <li><a href="javascript:;">有提示的表单输入页面</a>
                                <ul>
                                    <li><a href="javascript:;">页面一</a></li>
                                    <li><a href="javascript:;">页面二</a></li>
                                </ul>
                            </li>
                            <li><a href="javascript:;">选项卡和图形的页面</a>
                                    <ul>
                                            <li><a href="javascript:;">页面一</a></li>
                                            <li><a href="javascript:;">页面二</a></li>
                                    </ul>
                            </li>
                            <li><a href="javascript:;">选项卡和图形切换的页面</a></li>
                            <li><a href="javascript:;">左右两个互动的页面</a></li>
                            <li><a href="javascript:;">列表输入的页面</a></li>
                            <li><a href="javascript:;">双层栏目列表的页面</a></li>
                        </ul>
                    </div>
                    <div class="accordionHeader">
                        <h2><span>Folder</span>流程演示</h2>
                    </div>
                    <div class="accordionContent">
                        <ul class="tree">
                            <li><a href="newPage1.html" target="dialog" rel="dlg_page">列表</a></li>
                            <li><a href="newPage1.html" target="dialog" rel="dlg_page2">列表</a></li>
                        </ul>
                    </div>
                    -->
                </div>
            </div>
        </div>
        <div id="container">
            <div id="navTab" class="tabsPage">
                <div class="tabsPageHeader">
                    <div class="tabsPageHeaderContent"><!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
                        <ul class="navTab-tab">
                            <li tabid="main" class="main"><a href="javascript:;"><span><span class="home_icon">我的主页</span></span></a></li>
                        </ul>
                    </div>
                    <div class="tabsLeft">left</div><!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
                    <div class="tabsRight">right</div><!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
                    <div class="tabsMore">more</div>
                </div>
                    <ul class="tabsMoreList">
                        <li><a href="javascript:;">我的主页</a></li>
                    </ul>
                <div class="navTab-panel tabsPageContent layoutBox">
                    <div class="page unitBox">                        
                        <div class="pageFormContent" layoutH="80" style="margin-right:230px">
                            <table cellspacing=0 cellpadding=0 width="90%" align=center border=0>
                                <tr height=100>
                                    <td align=middle width=100><img height=100 src="<{$Think.const.ADMIN_IMG_URL}>admin_p.gif" width=90 /></td>
                                    <td width=60>&nbsp;</td>
                                    <td>
                                        <table height=100 cellspacing=0 cellpadding=0 width="100%" border=0>
                                            <tr>
                                                <td>当前时间：<?php echo date('Y-m-d h:i:s',time()); ?></td>
                                            </tr>
                                            <tr>
                                                <td style="font-weight: bold; font-size: 16px"><{$Think.session.name}></td>
                                            </tr>
                                            <tr>
                                                <td>欢迎进入网站管理中心！</td>
                                            </tr>
                                        </table>                                            
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan=3 height=10></td>
                                </tr>
                            </table>                         
                            
                            <div class="buttonActive" target="_blank"><span>您的相关信息（oschina）</span></div>
                            <div class="divider"></div>
                            
                            <table cellspacing=0 cellpadding=2 width="95%" align=center border=0 id="info" style="font-size:20px">
                                <tr>
                                    <td align=right width=100>登陆帐号：</td>
                                    <td style="color: #880000"><{$Think.session.name}></td>
                                </tr>
                                <tr>
                                    <td align=right width=100>角　　色：</td>
                                    <td style="color: #880000"><{$Think.session.authId|getUserRole}></td>
                                </tr>
                                <tr>
                                    <td align=right>注册时间：</td>
                                    <td style="color: #880000"><?php echo date("Y-m-d H:i:s",$_SESSION['admin']['add_time']);?></td>
                                </tr>
                                <tr>
                                    <td align=right>登陆次数：</td>
                                    <td style="color: #880000"><{$Think.session.inc}></td>
                                </tr>
                                <tr>
                                    <td align=right>上次登录：</td>
                                    <td style="color: #880000"><{$Think.session.last_logintime|date="Y-m-d H:i",###}></td>
                                </tr>
                            </table>                            
                        </div>
                        <div style="width:230px;position: absolute;top:60px;right:0" layoutH="80">
                            <iframe width="100%" height="430" class="share_self"  frameborder="0" scrolling="no" src="http://widget.weibo.com/weiboshow/index.php?width=0&height=430&fansRow=2&ptype=1&skin=1&isTitle=0&noborder=1&isWeibo=1&isFans=0&uid=1739071261&verifier=c683dfe7"></iframe>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="footer">Copyright &copy; 2010 <a href="demo_page2.html" target="dialog">DWZ团队</a> 京ICP备15053290号-2</div>
</body>    
</html>